import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission

Vue.use(plugins)

import uView from "uview-ui";
Vue.use(uView);
// 导入并挂载全局的分享方法
import share from '@/utils/share.js'
// 导入路线规划方法
import routing from '@/utils/routing.js'
Vue.mixin(share)
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$routing = routing // 全局挂载路线规划

App.mpType = 'app'

const app = new Vue({
  ...App
})


app.$mount()
